//
//  GGRouteHandler.h
//  qqqqqq
//
//  Created by iOSer on 2017/3/2.
//  Copyright © 2017年 iOSer. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class GGRouteRequest;
@interface GGRouteHandler : NSObject
-(BOOL)shouldHandleWithRequest:(GGRouteRequest *)request;
-(UIViewController *)targetViewControllerWithRequest:(GGRouteRequest *)request;
-(UIViewController *)sourceViewControllerForTransitionWithRequest:(GGRouteRequest *)request;
-(BOOL)handleRequest:(GGRouteRequest *)request error:(NSError *__autoreleasing *)error;
-(BOOL)transitionWithRequest:(GGRouteRequest *)request
        sourceViewController:(UIViewController *)sourceViewController targetViewController:(UIViewController *)targetViewController
               isPreferModal:(BOOL)isPreferModal
                       error:(NSError *__autoreleasing *)error;
-(BOOL)preferModalPresentationWithRequest:(GGRouteRequest *)request;
@end
